package com.yzsj.socket.business.service.impl;

import com.yzsj.socket.business.dao.ClassificDao;
import com.yzsj.socket.business.domain.vo.ClassificVO;
import com.yzsj.socket.business.service.ClassificService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ClassificServiceImpl implements ClassificService {
    @Autowired
    private ClassificDao classificDao;

    @Override
    public ClassificVO get(Integer id) {
        return classificDao.get(id);
    }

    @Override
    public List<ClassificVO> list(Map<String, Object> map) {
        return classificDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return classificDao.count(map);
    }

    @Override
    public int save(ClassificVO classific) {
        return classificDao.save(classific);
    }

    @Override
    public int update(ClassificVO classific) {
        return classificDao.update(classific);
    }

    @Override
    public int remove(Integer id) {
        return classificDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return classificDao.batchRemove(ids);
    }

}
